import Vue from "vue";
import Router from "vue-router";
import findJob from "@/views/findJob.vue";
import jobDetail from "@/views/jobDetail.vue";

Vue.use(Router);

export default new Router({
  mode: "history",
  base: window.__MICRO_APP_BASE_ROUTE__ || process.env.BASE_URL,
  routes: [
    {
      path: "/",
      name: "findJob",
      component: findJob,
    },
    {
      path: "/jobDetail",
      name: "jobDetail",
      component: jobDetail,
    },
  ],
});
